import ReactDOM from 'react-dom/client'
// 样式文件
import './styles/index.css'
import App from './App'
//把store集成react项目里
import { Provider } from 'react-redux'
import store from './store' //导入store

const root = ReactDOM.createRoot(document.getElementById('root'))
root.render(
  <Provider store={store}>
    <App />
  </Provider>
)
